package cn.bytets.rpc.api.serialize;

import java.io.InputStream;
import java.io.OutputStream;

public interface RpcSerialize {

    public String getContentType();

    public ObjectOutput serialize(OutputStream output);

    public ObjectInput deserialize(InputStream input);
}
